package com.ianmoone.proxy;

public class CgTest {
    public static void main(String[] args) {
        CgRealSubject subject = (CgRealSubject) new CgProxySubject().getProxy(CgRealSubject.class);
        subject.sayHello();
        System.out.println(subject.getClass().getName());
    }
}
